Skip to content

Conversation

badumbatish
Copy link
Contributor

Similar to #1927 , this allows generation of the missing mlir tablegen targets without going through

$(ninja -C build_pilot -t targets all | grep IncGen | sed 's/:.*//')

Helpful to #1917

@badumbatish badumbatish changed the title [MLIR] [Backport] Backport cmake from upstream to add missing mlir-headers dependencies [CMake] [MLIR] [Backport] Backport cmake from upstream to add missing mlir-headers dependencies Sep 30, 2025
@badumbatish
Copy link
Contributor Author

hmm not quite sure why its failing flang test cases due to error: unknown argument: '-emit-mlir'

@badumbatish
Copy link
Contributor Author

hmm not quite sure why its failing flang test cases due to error: unknown argument: '-emit-mlir'

it seems this is a problem from upstream, I run the build command on check-flang against HEAD~1 and it fails with the same error msg

@bcardosolopes
Copy link
Member

bcardosolopes commented Oct 3, 2025

it seems this is a problem from upstream, I run the build command on check-flang against HEAD~1 and it fails with the same error msg

We don't run check-flang in this CI (we're supposed to only run check-clang-cir) - see previous green jobs and look at the output - so maybe some of the cmake changes here are triggering dependencies it shouldn't?

@badumbatish
Copy link
Contributor Author

hmm i think flang depends on mlir, which explains why the flang cicd is triggered. I dont think i have any fixes for this, given that the commit for this in upstream is working. I can try to trace down via git bisect in the incubator but i'm not sure if its fruitful

@bcardosolopes
Copy link
Member

I can try to trace down via git bisect in the incubator but i'm not sure if its fruitful

Probably not worth it. Can you XFAIL the bad tests so we can get CI green? They will be resolved back when another rebase is done!

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once unrelated failing tests are XFAILed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants